<template>
  <div>
    <div class="mine">
      <LeftMenu />
      <nuxt class="nuxts" />
    </div>
  </div>
</template>

<script>
export default {
  layout: "main",
  components: {
    LeftMenu: () => import("~/components/main/leftMenu"),
  },
  created() {
    let member_id = this.$store.state.member_id
    let phone = this.$store.state.phone
    if (member_id && phone) {
      return
    } else {
      this.$router.push('/')
    }
  }
}
</script>

<style>
.mine {
  display: flex;
  align-items: flex-start;
}
.nuxts {
  width: calc(100% - 248px);
  min-height: 562px;
}
</style>